package com.bonc.rms.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.bonc.rms.dao.RegisterDao;
import com.bonc.rms.mapper.RegisterMapper;

@Repository(value = "registerDaoImpl")
public class RegisterDaoImpl implements RegisterDao{

	@Autowired
	RegisterMapper registerMapper;
	
	@Override
	public Integer register(String userName, String password, String sex, String email, String address,
			String mobilePhone) {
		return registerMapper.register( userName,password,sex,email,address,mobilePhone);
	}

}
